

package com.hazelcast.config;

import com.hazelcast.wan.WanEvent;
import com.hazelcast.wan.WanPublisher;

import java.io.Serializable;

public class DummyWanPublisher implements WanPublisher, Serializable {
    @Override
    public void init(WanReplicationConfig wanReplicationConfig, AbstractWanPublisherConfig publisherConfig) {

    }

    @Override
    public void shutdown() {

    }

    @Override
    public void doPrepublicationChecks() {

    }

    @Override
    public void publishReplicationEvent(WanEvent eventObject) {

    }

    @Override
    public void publishReplicationEventBackup(WanEvent eventObject) {

    }

    @Override
    public boolean equals(Object o) {
        if (this == o) {
            return true;
        }
        return o != null && getClass() == o.getClass();
    }

    @Override
    public int hashCode() {
        return 0;
    }
}
